home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / env.zip / ENV.MSG < prev    next >
Internet Message Format  |  1988-06-14  |  2KB

  1. Path: uunet!mcvax!ukc!warwick!bsrdp
  2. From: bsrdp@daisy.warwick.ac.uk (Mr H Boothroyd)
  3. Newsgroups: comp.sys.ibm.pc
  4. Subject: Keeping MSDOS environments full-size
  5. Date: 9 Jun 88 04:05:19 GMT
  6. Followup-To: comp.sys.ibm.pc
  7. Keywords: MSDOS, environment, append
  8.  
  9. A recent query raised the problem of not being able to preserve big
  10. environments for children. The rest of this file is a UUENCODED ARC of a
  11. utility, ENV.COM, that I wrote for myself about 6 months ago.
  12.  
  13. ENV.COM is used
  14.    to add up to 100 dummy variables to fill any unused space in the
  15.      environment, so that the environment will be copied full-size when
  16.      an application is called,
  17.    to delete additional variables from the newly copied environment.
  18.  
  19. ENV.DOC illustrates the use of ENV.COM, and also illustrates how to
  20. tackle the related problem that
  21.   PATH has its results recorded in the environment,
  22.   APPEND does not.
  23.  
  24. ENV.CMP is source of ENV.COM written as a DEBUG command file. It is
  25. needed only if you wish to re-compile ENV.COM. To do so simply type
  26.  
  27.                              DEBUG < ENV.CMP
  28.  
  29. The ARC should show
  30.  
  31. Name          Length    Stowage    SF   Size now  Date       Time    CRC
  32. ============  ========  ========  ====  ========  =========  ======  ====
  33. ENV.CMP           3987  Crunched   47%      2134  27 Jan 88  10:05a  9647
  34. ENV.COM            768  Crunched   18%       636  27 Jan 88  10:06a  A718
  35. ENV.DOC           5325  Crunched   48%      2774   9 Jun 88   1:36a  B369
  36.         ====  ========            ====  ========
  37. Total      3     10080             45%      5544
  38.